From: Debian Science Maintainers Date: Fri, 3 Jul 2026 21:13:01 +0000 (+0100) Subject: Ignore a known failure to converge X-Git-Tag: archive/raspbian/0.14.6+dfsg-3+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=f0adea5348b13294cf3b9e9044d1b0aeaa90b0ca;p=statsmodels.git Ignore a known failure to converge (Seen to fail in 0.13.5+dfsg-5, twice on mipsel, in 0.14.0 on armel, and in 0.14.6 on amd64; also known upstream. Not a plain mark.xfail to not accept "converged" to the wrong answer.) Author: Rebecca N. Palmer Forwarded: not-needed (upstream 15f574d also ignores it) Gbp-Pq: Name test_corr_nearest_factor_sparse_ignore_nonconverge.patch --- diff --git a/statsmodels/stats/tests/test_corrpsd.py b/statsmodels/stats/tests/test_corrpsd.py index 44483f7..7205221 100644 --- a/statsmodels/stats/tests/test_corrpsd.py +++ b/statsmodels/stats/tests/test_corrpsd.py @@ -330,6 +330,9 @@ class Test_Factor: mat_dense = dense_rslt.corr.to_matrix() mat_sparse = sparse_rslt.corr.to_matrix() + if not sparse_rslt.Converged: + warnings.warn("ignoring non-convergence") + pytest.xfail() assert dense_rslt.Converged is sparse_rslt.Converged assert dense_rslt.Converged is True